package com.system.couponserver.utils;

import java.util.List;

public class ResultData<T> {

    private  Integer code;//状态码
    private String message;//返回的消息
    private List<T> data;//数据
    private int count; // 总个数
    private Integer pages;//当前页码数
    private Integer limit;//显示好多条

    public int getCount() {
        return count;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
